home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / system / tcm100b.zip / TCM100B.DOC < prev    next >
Text File  |  1992-10-05  |  50KB  |  1,396 lines

  1.                 The Configuration Manager Version 1.00B
  2.               Configuration Selection and Boot Control Program
  3.                   Copyright (C) 1992 by McAfee Associates.
  4.                             All Rights Reserved.
  5.  
  6.                        Documentation by Aryeh Goretsky
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.           McAfee Associates                      (408) 988-3832 office
  38.           3350 Scott Blvd. Bldg. 14              (408) 970-9727 fax
  39.           Santa Clara, CA  95054-3107            (408) 988-4004 BBS
  40.           U.S.A.                                 USR HST/v.32/v.42bis/MNP1-5
  41.                                                  CompuServe    GO VIRUSFORUM
  42.                                                  Internet  mcafee@netcom.COM
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.                               TABLE OF CONTENTS
  58.  
  59.           SYNOPSIS . . . . . . . . . . . . . . . . . . . . . . . . . 2
  60.            - What is The Configuration Manager (TCM)?
  61.            - Configuration Control Program (CCP)
  62.            - Multiple Configuration Manager (MCONFIG)
  63.            - System requirements
  64.  
  65.           AUTHENTICITY . . . . . . . . . . . . . . . . . . . . . . . 3
  66.            - Verifying the integrity of TCM
  67.  
  68.           CCP OVERVIEW . . . . . . . . . . . . . . . . . . . . . . . 4
  69.            - General description of CCP
  70.  
  71.           CCP INSTALLATION and OPERATION . . . . . . . . . . . . . . 5
  72.            - Detailed description of CCP's options
  73.  
  74.           CCP EXTRA PRECAUTIONS. . . . . . . . . . . . . . . . . . . 7
  75.            - Back up system before installation
  76.            - Back up CCP restore disks
  77.            - Disable caching hard disk controllers before installation
  78.  
  79.           MCONFIG OVERVIEW . . . . . . . . . . . . . . . . . . . . . 8
  80.            - General description of MCONFIG
  81.  
  82.           MCONFIG INSTALLATION and OPTIONS . . . . . . . . . . . . . 9
  83.            - Options for use with MCONFIG
  84.  
  85.           MCONFIG MENU ITEMS . . . . . . . . . . . . . . . . . . . . 10
  86.            - How to insert Configuration Selection Menu items
  87.  
  88.           MCONFIG DISPLAY ITEMS. . . . . . . . . . . . . . . . . . . 12
  89.            - How to change MCONFIG's colors
  90.  
  91.           MCONFIG SUPPLEMENTAL PROGRAMS. . . . . . . . . . . . . . . 13
  92.            - How to use the ASK, PAUSE, and ECHO device drivers
  93.  
  94.           MCONFIG EXAMPLES . . . . . . . . . . . . . . . . . . . . . 15
  95.            - Sample CONFIG.SYS and AUTOEXEC.BAT files
  96.  
  97.           MCONFIG TUTORIAL . . . . . . . . . . . . . . . . . . . . . 18
  98.            - Learn how to use MCONFIG
  99.  
  100.           NOTES ON MCONFIG . . . . . . . . . . . . . . . . . . . . . 20
  101.            - DOS 3.3 and DOS 5.0 considerations
  102.  
  103.           APPENDIX A: Advanced MCONFIG Features  . . . . . . . . . . 21
  104.            - How to use the ENVIRON and SET device drivers
  105.            - How to use the MCON-ERR, MCON-SET, and CREM programs
  106.  
  107.  
  108.                                     Page 1
  109.  
  110. TCM Version 1.00B                                    Page 2
  111.  
  112.  
  113.           SYNOPSIS
  114.  
  115.                The Configuration Manager (TCM) is a suite of utilities
  116.           designed to provide system access, boot, and configuration
  117.           control while allowing multiple configurations for flexibility.
  118.           TCM is for IBM PC and compatible computers using MS-DOS, PC-DOS
  119.           operating systems.  TCM provides secure access, boot protection,
  120.           configuration locking, optional hard disk password protection,
  121.           and up to 14 different multiple configuration setups inside the
  122.           CONFIG.SYS and AUTOEXEC.BAT files.
  123.  
  124.                TCM consists of two parts:  CCP (Configuration and Control
  125.           Program) for access, boot, and configuration locking; and
  126.           MCONFIG (for Multiple CONFIGuration Manager) for selecting
  127.           multiple configurations.
  128.  
  129.               The CCP installation program installs a new master boot
  130.           record (MBR or partition table) on the hard disk.  The original
  131.           MBR is copied to a hidden file on the hard drive and to a
  132.           floppy diskette for recovery purposes.
  133.  
  134.               The new MBR prevents access to the hard disk when the
  135.           system is booted from a diskette, password-protects the hard
  136.           disk on boot-up, and/or prevents booting if changes have been
  137.           made to the CONFIG.SYS or AUTOEXEC.BAT files without supervisor
  138.           approval -- a feature for standardizing configurations in
  139.           corporate environments.  The supervisor selects which features
  140.           the new MBR will have.
  141.  
  142.                MCONFIG is a device driver that loads through the
  143.           CONFIG.SYS file.  MCONFIG presents the user with a menu of the
  144.           different configurations available.  After selecting one,
  145.           MCONFIG modifies the in-memory copy of CONFIG.SYS so that only
  146.           the commands for the selected configuration are executed.
  147.  
  148.                TCM Version 1.00B works on any system with 256Kb of
  149.           memory and DOS 3.3 or greater.  One floppy disk is required
  150.           for each system CCP is installed on.  CCP is not compatible
  151.           with DOS 2.nn systems or PC's with a 'dual boot' partition,
  152.           such as DOS-Unix or DOS-OS/2.  MCONFIG requires MS-DOS or
  153.           PC-DOS 3.30 or above.  It is not compatible with DR-DOS.
  154.  
  155.                Version 1.00B of CCP checks for the use of some Disk
  156.           Compressor to prevent conflicting use of the disk interrupts,
  157.           and operates integrity checking before restoring the original
  158.           partition from the backup disk.
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165. TCM Version 1.00B                                    Page 3
  166.  
  167.  
  168.           AUTHENTICITY
  169.  
  170.                TCM is packaged with the VALIDATE program to ensure the
  171.           integrity of the TCM files.  The VALIDATE.DOC file tells how
  172.           to use VALIDATE.  VALIDATE can be used to check subsequent
  173.           versions of TCM for tampering.
  174.  
  175.                The validation results for Version 1.00B should be:
  176.  
  177.           FILENAME     SIZE       DATE         CHECK METHOD
  178.  
  179.           ASK.SYS      S:4,057    D:08-19-92   M1: 6E41  M2: 146B
  180.           CCP.COM      S:9,499    D:07-21-92   M1: E5E3  M2: 17FC
  181.           CCP.MBR      S:39,265   D:09-29-92   M1: 5395  M2: 07F1
  182.           CREM.EXE     S:15,372   D:08-21-92   M1: 6D59  M2: 1EC8
  183.           ECHO.SYS     S:1,700    D:08-19-92   M1: CE25  M2: 0C88
  184.           ENVIRON.SYS  S:298      D:08-19-92   M1: AB32  M2: 1504
  185.           MCONFIG.SYS  S:13,651   D:08-21-92   M1: 6CF3  M2: 1061
  186.           MCON-ERR.COM S:71       D:07-23-92   M1: 51EE  M2: 1EEC
  187.           MCON-SET.EXE S:10,098   D:07-23-92   M1: 935D  M2: 0400
  188.           PAUSE.SYS    S:1,890    D:08-19-92   M1: 4D46  M2: 10AA
  189.           SET.SYS      S:2,518    D:08-19-92   M1: 5ED3  M2: 17AF
  190.  
  191.  
  192.           If your copy of TCM differs, it may have been damaged (or the
  193.           CCP.MBR file may have been pre-configured by the system
  194.           administrator).  Always obtain TCM from a known source, such as
  195.           McAfee Associates, its Agents, or the person responsible for
  196.           computer security in your organization.  The latest version of
  197.           TCM and validation data for its programs can be obtained from
  198.           McAfee Associates' bulletin board system at (408) 988-4004 or
  199.           from the CompuServe Computer Virus Help Forum (GO VIRUSFORUM).
  200.  
  201.                All of McAfee Associates' programs have been archived
  202.           with PKWare's PKZIP Authentic File Verification.  If you do
  203.           not see an "-AV" after every file is unzipped and receive
  204.           the "Authentic Files Verified! # NWN405 Zip Source: McAFEE
  205.           ASSOCIATES" message then do not use them.
  206.  
  207.                If your version of PKUNZIP does not have verification
  208.           ability, then this message may not be displayed.  Please
  209.           contact us if you believe tampering has occurred to the .ZIP
  210.           file.
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220. TCM Version 1.00B                                    Page 4
  221.  
  222.  
  223.           CCP OVERVIEW
  224.  
  225.                CCP installs a custom Master Boot Record (partition table)
  226.           onto the first five sectors on the hard disk, an area of the
  227.           disk that typically remains unused.
  228.                The MBR installed by CCP can be configured to perform
  229.           several functions:  It can prevent access to the hard disk when
  230.           the PC is booted from a floppy, prompt the user for a password
  231.           when the system is booted from the hard disk, and lock the
  232.           system when changes have been made to the CONFIG.SYS and
  233.           AUTOEXEC.BAT files.
  234.                The MBR will also prevent accesses to the first five (5)
  235.           sectors of the hard disk which contain its code.  Access to
  236.           this area while CCP is active will show the original (pre-CCP
  237.           installation) MBR.  CCP will prevent any changes from being
  238.           made to this part of the disk.
  239.  
  240.           NOTE:  When CCP's custom MBR is installed and running, it will
  241.                  reduce the amount of total conventional memory available
  242.                  to the system by 1,024 bytes.  Thus, a system with 640Kb
  243.                  of memory (655,360 bytes) will report that it has 639Kb
  244.                  of memory (654,336 bytes) available.
  245.  
  246.                When CCP is installed, it will save the original MBR to
  247.           a floppy diskette as a backup.  The floppy disk should be
  248.           clearly labeled as a CCP RECOVERY DISKETTE and write protected.
  249.           Be sure to write the user's name, department, PC serial number
  250.           and any other important information on the label.  CCP will
  251.           also create a hidden file in the root directory of the disk
  252.           containing the first five sectors of the hard disk.  The file
  253.           is named ▒≡DISK≡▒.IDN.
  254.  
  255.  
  256.           NOTE:  Do not install or run CCP while disk caching software or
  257.                  hardware is in use.  CCP performs direct writes to the hard
  258.                  disk which may not be handled correctly by disk caching
  259.                  algorithms.  Use of disk caches while installing CCP via
  260.                  the CCP.COM program may result in the loss of all data on
  261.                  the hard disk.  Disk caches can be used AFTER CCP has
  262.                  been installed, reconfigured, or removed.
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275. TCM Version 1.00B                                    Page 5
  276.  
  277.  
  278.           CCP INSTALLATION and OPERATION
  279.  
  280.  
  281.           NOTE:  If MCONFIG and CCP are to be used together, then MCONFIG
  282.                  must be installed first.  Please refer to the section on
  283.                  installing MCONFIG for more information.
  284.  
  285.                To install CCP onto your hard disk, run the CCP.COM
  286.           program.  The main menu will appear.  Main menu items are:
  287.  
  288.              Set Access - Configure CCP's functions
  289.              Install - Install (or reinstall) CCP
  290.              Recover - Restore CCP after virus infection or disk crash
  291.              Remove - Remove CCP from hard disk
  292.              Exit - Save configuration and return to DOS
  293.  
  294.           SET ACCESS
  295.                Selecting 'Set Access' brings up the 'Access Password' and
  296.           'Configuration' items.
  297.                'Access Password' selects and changes the SuperUser's
  298.           (system administrator) password.  After selecting a SuperUser
  299.           password, be sure to write it down and store it in a safe
  300.           location.  The SuperUser password is required to reconfigure
  301.           CCP.
  302.                  Selecting 'Configuration' brings up the Configuration
  303.           menu.  This menu allows you to select which items require
  304.           SuperUser approval.  Configuration Selection Menu items are:
  305.  
  306.              Recover hard disk protection
  307.              Remove hard disk protection
  308.              (Re)Install hard disk protection
  309.              Set boot password
  310.  
  311.           Move between options with the cursor keys.  Select options with
  312.           the space bar.  Options that have been selected will have a
  313.           check-mark (ASCII 251) character in front of them.  All selected
  314.           items will be set as "unavailable" to end users.  The SuperUser
  315.           password will be required to gain access to these functions.
  316.  
  317.           INSTALL
  318.                Selecting 'Install' brings up the 'Available Options' menu.
  319.           This menu allows you to select which items the CCP MBR is
  320.           installed with.  Available Options menu items are:
  321.  
  322.              Require password to boot the operating system
  323.              Check CONFIG.SYS and AUTOEXEC.BAT at system boot
  324.              Prevent access to hard disk if system booted from floppy disk
  325.  
  326.                Selecting 'Require password...' allows the user to select a
  327.           password that will be requested by CCP each time the system is
  328.           booted from the hard disk.
  329.  
  330. TCM Version 1.00B                                    Page 6
  331.  
  332.  
  333.           NOTE:  The 'Require password to boot the operating system' item
  334.                  appears only if 'Set Boot Password' is not restricted by
  335.                  the Set Access menu.
  336.  
  337.                Selecting 'Check CONFIG.SYS and AUTOEXEC.BAT at system
  338.           boot' enables a check of the CONFIG.SYS and AUTOEXEC.BAT files
  339.           when the system is booted from the hard disk.  Any changes made
  340.           to these files will result in the message
  341.  
  342.              AUTOEXEC.BAT and/or CONFIG.SYS has been modified.
  343.              Enter SuperUser password.
  344.  
  345.           being displayed when the system is booted.  The hard drive will
  346.           be locked until the SuperUser enters the password and reinstalls
  347.           CCP or replaces the original configuration files.
  348.  
  349.                Selecting 'Prevent access to hard disk if system booted
  350.           from floppy disk' disables access to the hard disk when the
  351.           system is booted from a floppy.  Attempts to access the hard
  352.           disk will result in an "Invalid Media Specification" error
  353.           being displayed.
  354.  
  355.           RECOVER
  356.                Selecting 'Recover' allows you to restore CCP after a disk
  357.           crash or virus infection that has corrupted the Master Boot
  358.           Record.  After selecting 'Recover' CCP will prompt the user to
  359.           insert the CCP MBR recovery disk to reload the CCP MBR from.
  360.           When finished, CCP will reboot the system.
  361.  
  362.           REMOVE
  363.                Selecting 'Remove' allows you to unload CCP from the hard
  364.           disk and restore the original Master Boot Record.  After
  365.           selecting 'Remove', CCP will restore the original MBR and
  366.           reboot the system.
  367.  
  368.           EXIT
  369.                Selecting 'Exit' allows you to return to DOS.  If CCP has
  370.           been reconfigured, it will prompt the user to save changes
  371.           before exiting.
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385. TCM Version 1.00B                                    Page 7
  386.  
  387.  
  388.           CCP EXTRA PRECAUTIONS
  389.  
  390.           BACK UP
  391.                Before installing CCP, it is recommended that the system be
  392.           backed up.  After installing CCP, it is recommended that one or
  393.           more backup copies of the CCP recovery diskette be made and
  394.           stored in a safe location.  The DOS DISKCOPY command can be used
  395.           to make copies of CCP MBR backup diskettes.
  396.  
  397.           NOTE:  The CCP recovery diskette will appear unreadable to
  398.                  normal DOS programs, including the DIR command.  Only
  399.                  CCP can access the diskette.
  400.  
  401.           CACHING HARD DISK CONTROLLER CARDS
  402.                If you are installing CCP on a PC equipped with a caching
  403.           hard disk controller card, it is recommended that you disable
  404.           the disk cache before installing CCP.  After CCP has been
  405.           installed, the disk cache can be returned to normal operation.
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440. TCM Version 1.00B                                    Page 8
  441.  
  442.  
  443.           MCONFIG OVERVIEW
  444.  
  445.  
  446.                MCONFIG is a device driver that allows the selection of
  447.           different configuration set ups.  At boot up, MCONFIG
  448.           displays a menu listing available configurations.  After
  449.           selecting a configuration, MCONFIG modifies the in-memory copy
  450.           of the CONFIG.SYS file so that only the configuration selected
  451.           will be used.  After the selected configuration has been
  452.           executed, a single AUTOEXEC batch file or multiple AUTOEXEC
  453.           files can be executed.
  454.  
  455.                MCONFIG comes with a number of supplementary device drivers
  456.           to simplify the creation of multi-configuration environments.
  457.           These device drivers are explained in appendix A.
  458.  
  459.                MCONFIG works by placing Menu Items within the CONFIG.SYS
  460.           file, followed by the different "selection blocks" of CONFIG.SYS
  461.           entries to be used when each Menu Item is selected.  Menu Items
  462.           display the actual text to appear on the Configuration Selection
  463.           menu; these are followed by the CONFIG.SYS entries associated
  464.           with each Menu Item.
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495. TCM Version 1.00B                                    Page 9
  496.  
  497.  
  498.           MCONFIG INSTALLATION and OPTIONS
  499.  
  500.                MCONFIG is normally placed at the beginning of the
  501.           CONFIG.SYS file.  When initially executed, MCONFIG reads in
  502.           the rest of the CONFIG.SYS file and displays a Configuration
  503.           Selection menu based on the Menu Items found.
  504.  
  505.           NOTE:  There will be several entries for MCONFIG in the
  506.                  CONFIG.SYS file:  one to initially load MCONFIG,
  507.                  one for each Menu Item, plus an entry to signal where
  508.                  MCONFIG stops processing the last menu entry.
  509.                  Additional entries to set colors and other options may
  510.                  also appear.
  511.  
  512.                Valid options for MCONFIG are listed below:
  513.  
  514.           DEVICE = MCONFIG.SYS CENTER DEFAULT=n END NOHIGHVIDEO NUMOFF
  515.                    TIMEOUT=n PASSIVE {left shift key} {right shift key}
  516.  
  517.           Options are:
  518.  
  519.                      CENTER - center Menu Items in window
  520.                   DEFAULT=n - use Menu Item 'n' as default
  521.                         END - tells where last Menu Item finishes
  522.                 NOHIGHVIDEO - disable video attributes used on EGA/VGA
  523.                               monitors
  524.                      NUMOFF - turn off NumLock
  525.                     PASSIVE - execute first Menu Item as default
  526.                               (see below for specifics)
  527.                   TIMEOUT=n - set delay time in seconds for DEFAULT
  528.            {left shift key} - invoke Menu Item 1 at boot-up
  529.           {right shift key} - invoke Menu Item 2 at boot-up
  530.  
  531.           NOTE:  Use the complete pathname for only the first MCONFIG
  532.                  entry.  For other entries use the statement
  533.                  "DEVICE = MCONFIG options" with a pathname.
  534.  
  535.                The CENTER switch tells MCONFIG to center Menu Items
  536.           in the MCONFIG Configuration Selection menu window.  By
  537.           default, all Menu Items are left-justified.
  538.  
  539.                The DEFAULT switch tells MCONFIG which Menu Item to
  540.           select as the default menu selection.  It can be used with the
  541.           TIMEOUT switch to invoke a default configuration.  Syntax is
  542.           DEFAULT=n where 'n' is the Menu Item to select as the default
  543.           OR place the DEFAULT switch on the MCONFIG Menu Item line to be
  544.           selected as the default Menu Item.
  545.  
  546.  
  547.  
  548.  
  549.  
  550. TCM Version 1.00B                                    Page 10
  551.  
  552.  
  553.                The END switch tells MCONFIG to finish processing menu
  554.            entries.  Any CONFIG.SYS entries after the END switch will be
  555.            executed with all configurations.
  556.  
  557.                The NOHIGHVIDEO switch disables the "high video"
  558.           attributes used on EGA and VGA monitors.  If you are using a
  559.           different type of monitor, you may see blinking characters on
  560.           the screen.  If so, use the NOHIGHVIDEO switch with MCONFIG.
  561.  
  562.                The NUMOFF switch turns off the NumLock key.
  563.  
  564.                The PASSIVE switch tells MCONFIG to use the first Menu
  565.           Item unless you tell it to pop up the menu by pressing the
  566.           left SHIFT key.  If the right SHIFT key is pressed, MCONFIG
  567.           executes the second Menu Item.
  568.  
  569.                In non-passive mode, holding down the {LEFT SHIFT KEY}
  570.           during boot-up will automatically start the first Menu Item
  571.           without displaying the Configuration Selection Menu.
  572.  
  573.                Holding down the {RIGHT SHIFT KEY} during boot-up will
  574.           automatically start the second Menu Item without displaying the
  575.           Configuration Selection Menu.
  576.  
  577.           Key pressed │ In ACTIVE Mode          │ In PASSIVE mode
  578.           at boot-up  │ (default)               │ (using PASSIVE switch)
  579.           ════════════╪═════════════════════════╪════════════════════════
  580.           none        │ MCONFIG menu is always  │ First Menu Item is
  581.                       │ displayed on screen.    │ executed without
  582.                       │                         │ displaying the menu.
  583.           ────────────┼─────────────────────────┼────────────────────────
  584.           left SHIFT  │ First Menu Item is      │ MCONFIG menu is
  585.           key         │ executed.               │ displayed on screen
  586.           ────────────┼─────────────────────────┼────────────────────────
  587.           right Shift │ Second Menu Item is     │ Second Menu Item is
  588.           key         │ executed without        │ executed without
  589.                       │ displaying the menu.    │ displaying the menu.
  590.  
  591.  
  592.           MCONFIG MENU ITEMS
  593.  
  594.  
  595.                Menu Items tell MCONFIG what text to insert into the
  596.           Configuration Selection Menu.  The syntax is:
  597.  
  598.           DEVICE = MCONFIG "text \TEXT\ \T\ext" DEFAULT TIMEOUT=n
  599.  
  600.           When MCONFIG sees the double quote in the CONFIG.SYS file
  601.           after MCONFIG, it adds that Message Line to the Configuration
  602.           Selection Menu.
  603.  
  604.  
  605. TCM Version 1.00B                                    Page 11
  606.  
  607.  
  608.           The operating system displays all lines in the CONFIG.SYS in
  609.           UPPER CASE.  To make messages more readable, MCONFIG switches
  610.           between cases.  This is done by placing a backslash character
  611.           "\" in the Message Line text.  Example:
  612.  
  613.           DEVICE = MCONFIG "T\his is a \TEST\ \M\essage."
  614.  
  615.           would be displayed on the screen as:
  616.  
  617.                "This is a TEST Message."
  618.  
  619.                The DEFAULT and TIMEOUT switches can be used with Message
  620.           Lines (See MCONFIG INSTALLATION and OPERATIONS for more
  621.           information).
  622.  
  623.                After each Menu Item, place the CONFIG.SYS entries to use
  624.           with it.  At the end of the multi-configuration area of the
  625.           CONFIG.SYS file, place a "DEVICE = MCONFIG End" statement.
  626.  
  627.                A commented example of a CONFIG.SYS:
  628.  
  629.               COMMENTS         │             CONFIG.SYS Contents
  630.           ═════════════════════╪══════════════════════════════════════════
  631.           invoke MCONFIG       │  device = C:\MCONFIG\MCONFIG.SYS
  632.                                │
  633.           option 1 on the menu │  device = MCONFIG "M\enu entry number 1"
  634.                                │       ........
  635.                                │       statements to execute if selected
  636.                                │       ........
  637.                                │
  638.           option 2 on the menu │  device = MCONFIG "M\enu entry number 2"
  639.                                │       ........
  640.                                │       statements to execute if selected
  641.                                │       ........
  642.                                │
  643.           mark the end         │  device = MCONFIG End
  644.                                │
  645.           These lines are used │  DOS     = High, UMB
  646.           with all selections  │  Files   = 30
  647.           since they are after │  Stacks  = 0,0
  648.           the MCONFIG = END    │  Buffers = 10
  649.           statement.           │  Break   = OFF
  650.  
  651.                 Using the above CONFIG.SYS file, the following
  652.           Configuration Selection menu will be displayed:
  653.  
  654.                  ╔════════════════════════════════════════════════╗
  655.                  ║                                                ║
  656.                  ║  Menu entry number 1                           ║
  657.                  ║  Menu entry number 2                           ║
  658.                  ║                                                ║
  659.                  ╚════════════════════════════════════════════════╝
  660. TCM Version 1.00B                                    Page 12
  661.  
  662.  
  663.           The first entry is highlighted by the "selection bar".
  664.           Choosing Entry 1 causes the statements immediately following
  665.           the first selection block to be executed, and statements in
  666.           the other selection blocks will be ignored by the system.
  667.  
  668.  
  669.           MCONFIG DISPLAY ITEMS
  670.  
  671.  
  672.           NOTE:  MCONFIG automatically detects monochrome monitors
  673.                  and will adjust screen colors appropriately.
  674.  
  675.                Display Items allow you to change MCONFIG's default
  676.           colors.  Display items follow the following syntax:
  677.  
  678.                DEVICE = MCONFIG displayitem = color
  679.  
  680.           Where "displayitem" is the item to change the color of and
  681.           "color" is the color to use.  Display Items are as follows:
  682.  
  683.                DISPLAY ITEM        COLOR
  684.                ═══════════════════╤═══════════════════════════════════════
  685.                BannerBorder       │top and bottom lines of screen
  686.                                   │
  687.                BannerBackground   │copyright background color
  688.                                   │
  689.                BannerForeground   │copyright foreground color
  690.                                   │
  691.                BackgroundFill     │background screen color
  692.                                   │
  693.                DialogBorder       │border color around Configuration
  694.                                   │Selection menu dialog box.
  695.                                   │
  696.                DialogBackground   │background color of Configuration
  697.                                   │Selection menu dialog box.
  698.                                   │
  699.                DialogForeground   │foreground color of Configuration
  700.                                   │Selection menu dialog box.
  701.                                   │
  702.             SelectionBarBackground│background color used when displaying
  703.                                   │the moveable selection bar.
  704.                                   │
  705.             SelectionBarForeground│foreground color used when displaying
  706.                                   │the moveable selection bar.
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715. TCM Version 1.00B                                    Page 13
  716.  
  717.  
  718.           Valid color values are:
  719.           ═════════════╤══════════════════════════════
  720.           Blue         │  LightBlue (BrightBlue)
  721.           Green        │  LightGreen (BrightGreen)
  722.           Cyan         │  LightCyan  (BrightCyan)
  723.           Red          │  LightRed (BrightRed)
  724.           Magenta      │  LightMagenta (BrightMagenta)
  725.           Brown        │  Yellow (BrightBrown)
  726.           DarkGray     │  LightGray (BrightGray)
  727.           White        │
  728.  
  729.  
  730.           MCONFIG SUPPLEMENTAL PROGRAMS
  731.  
  732.           ASK.SYS DEVICE DRIVER
  733.  
  734.                The ASK.SYS device driver is a device driver that can be
  735.           used to ask simple, one-line Yes/No questions at boot-up and
  736.           then selectively load other device drivers based upon the
  737.           response.  Questions can be placed in Menu Item "selection
  738.           blocks".  The syntax for ASK is:
  739.  
  740.           DEVICE = ASK.SYS "Question" DEFAULT=x TIMEOUT=n
  741.              DEVICE = YES
  742.                (lines to execute if YES)
  743.                ...
  744.              DEVICE = NO
  745.                (optional lines to execute if NO)
  746.                ...
  747.  
  748.           DEVICE = END
  749.  
  750.           For information on the DEFAULT and TIMEOUT switches, please
  751.           refer to the MCONFIG INSTALLATION and OPERATIONS section.
  752.  
  753.                An example of the ASK.SYS device driver:
  754.  
  755.              device=c:\Ask.Sys "L\oad mouse driver?" default=Y timeout=10
  756.              device=YES
  757.                   device=c:\mouse\mouse.sys
  758.              device=END
  759.  
  760.           The same caveats that apply to MCONFIG for DOS 3.3 and DOS 5.0
  761.           exist for ASK (see NOTES ON MCONFIG for more information).
  762.  
  763.  
  764.           PAUSE.SYS DEVICE DRIVER
  765.  
  766.                The PAUSE.SYS device driver performs identically to the
  767.           DOS PAUSE batch file command.  It displays an optional message
  768.  
  769.  
  770. TCM Version 1.00B                                    Page 14
  771.  
  772.  
  773.           and waits for any key to be pressed.  The syntax for PAUSE is:
  774.  
  775.                DEVICE = PAUSE.SYS message
  776.  
  777.           where "message" is an optional message to display.  If no
  778.           message is given, PAUSE will display:
  779.  
  780.                Press any key when ready...
  781.  
  782.           Otherwise, PAUSE will display the optional message.
  783.  
  784.           An example of the PAUSE.SYS device driver:
  785.  
  786.                DEVICE = C:\PAUSE.SYS P\ress any to continue \CONFIG.SYS
  787.  
  788.           would display the following message:
  789.  
  790.                Press any key to continue CONFIG.SYS
  791.  
  792.           and pause until a key was pressed.
  793.  
  794.  
  795.           ECHO.SYS DEVICE DRIVER
  796.  
  797.                The ECHO.SYS device driver performs identically to the
  798.           DOS ECHO batch file command.  It is useful for debugging the
  799.           CONFIG.SYS file.  The syntax for ECHO is:
  800.  
  801.                DEVICE = ECHO.SYS message
  802.  
  803.           where "message" is a message to display.
  804.  
  805.                An example of the ECHO.SYS device driver:
  806.  
  807.                DEVICE = C:\ECHO.SYS L\oading \MOUSE\ driver now.
  808.                DEVICE = C:\MOUSE\MOUSE.SYS
  809.                DEVICE = C:\ECHO.SYS MOUSE\ has loaded successfully.
  810.                DEVICE = C:\PAUSE.SYS
  811.  
  812.           would display the message "Loading MOUSE driver now.", load
  813.           the mouse driver into memory, display the message "MOUSE has
  814.           loaded successfully." and pause until a key is pressed.
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825. TCM Version 1.00B                                    Page 15
  826.  
  827.  
  828.           MCONFIG EXAMPLES
  829.  
  830.  
  831.                Following are a sample CONFIG.SYS file and two sample
  832.           AUTOEXEC.BAT files.  The CONFIG.SYS has three different
  833.           configurations for booting without network drivers, booting
  834.           with LAN Manager, and booting with Novell NetWare drivers.
  835.  
  836.           NOTE:  The first and last four lines of the CONFIG.SYS file are
  837.                  outside of the "DEVICE=C:\MCONFIG.SYS" and "MCONFIG End"
  838.                  lines are shared across all selections and will ALWAYS
  839.                  be run.
  840.  
  841.           __ SAMPLE CONFIG.SYS FILE ______________________________________
  842.           DOS     = high,umb
  843.           device  = c:\dos\himem.sys
  844.           device  = c:\emm386.exe ram noems i=b000-b7ff
  845.           shell   = c:\command.com /p /e:512
  846.  
  847.           DEVICE  = c:\mconfig.sys Center NumOff
  848.           device  = MCONFIG SelectionBarBackground=RED
  849.  
  850.           device = MCONFIG "N\o network" Default Timeout=30
  851.             devicehigh = c:\mouse\mouse.sys /y /s30
  852.             devicehigh = c:\dos\ansi.sys
  853.             devicehigh = c:\dos\setver.exe
  854.             device = c:\MCONFIG\Ask.Sys "L\oad the \MOUSE\ driver?"
  855.             device = YES
  856.             devicehigh = c:\mouse\mouse.sys /y /s30
  857.             device = END
  858.  
  859.           device = MCONFIG "LAN M\anager \N\etwork"
  860.             devicehigh = c:\netlib\dxma0mod.sys 001
  861.             devicehigh = c:\netlib\dxmc0mod.sys
  862.             devicehigh = c:\netlib\dxmt0mod.sys s=32 c=32
  863.             devicehigh = c:\dos\ansi.sys
  864.             devicehigh = c:\dos\setver.exe
  865.  
  866.           device = MCONFIG "N\ovell \N\etwork"
  867.             devicehigh = c:\mouse\mouse.sys /y /s30
  868.             devicehigh = c:\netlib\dxma0mod.sys 001
  869.             devicehigh = c:\netlib\dxmc0mod.sys
  870.             devicehigh = c:\netlib\dxmt0mod.sys s=32 c=32
  871.             devicehigh = c:\dos\ansi.sys
  872.             devicehigh = c:\dos\setver.exe
  873.  
  874.           device = MCONFIG End
  875.  
  876.           buffers   = 20
  877.           files     = 50
  878.           STACKS    = 0,0
  879.           lastdrive = E
  880. TCM Version 1.00B                                    Page 16
  881.  
  882.  
  883.               The first sample AUTOEXEC.BAT file shows how to use the
  884.           MCONFIG environment variable to login to a Novell network from
  885.           a single AUTOEXEC file, using the results from the sample
  886.           CONFIG.SYS above.
  887.  
  888.           NOTE:  These SAMPLES make use of the MCON-SET.EXE program used
  889.                  for setting DOS environmental variables from MCONFIG.
  890.                  For information on using this and the MCON-ERR.COM DOS
  891.                  ERRORLEVEL-setting program, please refer to APPENDIX A.
  892.  
  893.           __ SAMPLE FIRST AUTOEXEC.BAT FILE _____________________________
  894.           REM Run the MCON-SET program to set the environment variable
  895.           REM "MCONFIG" to the selection made from the menu.
  896.           C:\MCONFIG\MCON-SET.EXE
  897.           set comspec=c:\command.com
  898.           path c:\dos;c:\bat;c:\utils
  899.           set prompt=$p$g
  900.           C:\MCAFEE\VSHIELD.EXE /CHKHI /CV /LH /M
  901.           mode con rate=30 delay=1
  902.  
  903.           if NOT "%MCONFIG%" == "3" goto no_novell
  904.             c:\netware\wsgen\ipx
  905.             c:\netware\wsgen\route
  906.             c:\netware\wsgen\netx
  907.             f:
  908.             C:\MCAFEE\VSHIELD.EXE /RECONNECT
  909.             login mcafee_server_1/John_M
  910.             path %path;c:\netware
  911.           :no_novell
  912.           ________________________________________________ END OF FILE __
  913.  
  914.  
  915.                This example shows how to use the MCONFIG environment
  916.           variable to have 3 separate AUTOEXEC files.  Depending upon
  917.           the selection made from the MCONFIG menu, either AUTO-1.BAT,
  918.           AUTO-2.BAT, or AUTO-3.BAT will execute.
  919.  
  920.           __ SAMPLE SECOND AUTOEXEC.BAT FILE ____________________________
  921.           REM Call the MCON-SET program to set the environment variable
  922.           REM "MCONFIG" to the selection made from the menu.  Then call
  923.           REM the matching AUTO-n.BAT file.
  924.           C:\MCAFEE\VSHIELD.EXE /CHKHI /CV /LH /M
  925.           C:\MCONFIG\MCON-SET.EXE
  926.           C:\AUTO-%MCONFIG%.BAT
  927.           ________________________________________________ END OF FILE __
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935. TCM Version 1.00B                                    Page 17
  936.  
  937.  
  938.           __ SAMPLE AUTO-1.BAT FILE _____________________________________
  939.           set comspec=c:\command.com
  940.           path c:\dos;c:\bat;c:\utils
  941.           set prompt=$p$g
  942.           mode con rate=30 delay=1
  943.           ________________________________________________ END OF FILE __
  944.  
  945.  
  946.           __ SAMPLE AUTO-2.BAT FILE _____________________________________
  947.           set comspec=c:\command.com
  948.           path c:\dos;c:\bat;c:\utils
  949.           set prompt=$p$g
  950.           mode con rate=30 delay=1
  951.           ________________________________________________ END OF FILE __
  952.  
  953.  
  954.           __ SAMPLE AUTO-3.BAT FILE _____________________________________
  955.           set comspec=c:\command.com
  956.           path c:\dos;c:\bat;c:\utils
  957.           set prompt=$p$g
  958.           mode con rate=30 delay=1
  959.           c:\netware\wsgen\ipx
  960.           c:\netware\wsgen\route
  961.           c:\netware\wsgen\netx
  962.           f:
  963.           C:\MCAFEE\VSHIELD.EXE /RECONNECT
  964.           login mcafee_server_1/John_M
  965.           ________________________________________________ END OF FILE __
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990. TCM Version 1.00B                                    Page 18
  991.  
  992.  
  993.           MCONFIG TUTORIAL
  994.  
  995.  
  996.                The easiest way to get familiarized with MCONFIG is to
  997.           create a two-selection CONFIG.SYS file.  Option one is your
  998.           existing CONFIG.SYS file.  Option two will be a minimum
  999.           "bare-bones" configuration.
  1000.  
  1001.                Load the CONFIG.SYS file into your text editor or word
  1002.           processor and make the following changes to the current
  1003.           CONFIG.SYS file:
  1004.  
  1005.           NOTE:  When editing the CONFIG.SYS file with a word processor
  1006.                  be sure to save it as an ASCII text file, not a word
  1007.                  processor document.
  1008.  
  1009.           Add the following two lines to the top of the CONFIG.SYS file
  1010.           (change the pathname if MCONFIG is located elsewhere):
  1011.  
  1012.                device=C:\MCONFIG\MCONFIG.SYS CENTER
  1013.                device=MCONFIG "S\tandard \C\onfiguration" Default Timeout=30
  1014.  
  1015.           Next, go to the end of the CONFIG.SYS file and add:
  1016.  
  1017.                device=MCONFIG "M\inimal \C\onfiguration"
  1018.                  files   = 20
  1019.                  buffers = 30
  1020.                device=MCONFIG End
  1021.  
  1022.           Save the CONFIG.SYS file and re-boot the computer.  The MCONFIG
  1023.           Configuration Selection menu will appear with two configuration
  1024.           options.  Selecting the first option loads the original
  1025.           CONFIG.SYS.  Selecting the second option loads the minimal
  1026.           configuration.
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045. TCM Version 1.00B                                    Page 20
  1046.  
  1047.  
  1048.           NOTES ON MCONFIG
  1049.  
  1050.           USING MCONFIG with DOS 3.30
  1051.  
  1052.                MCONFIG is designed to work seamlessly with DOS Version
  1053.           4.00 and above.  It can be used with DOS 3.3x with the
  1054.           following considerations:
  1055.  
  1056.           -    DOS 3.3x does not allow a "REMark" statement in the
  1057.                CONFIG.SYS file.  MCONFIG adds a REM to comment-out
  1058.                un-needed lines so this will cause a problem with DOS 3.3.
  1059.                     To get around this, MCONFIG precedes unwanted lines
  1060.                with "BREAK=OFF" statements.  This is done automatically
  1061.                by MCONFIG if run under DOS 3.3x.
  1062.  
  1063.           -    To set BREAK=ON in the CONFIG.SYS, place the "BREAK=ON"
  1064.                statement after the "DEVICE = MCONFIG End" statement.
  1065.  
  1066.           -    Lines with less than three characters after the equals "="
  1067.                sign will not be correctly proceeded with a "BREAK=OFF"
  1068.                statement.
  1069.                     For example, "BUFFERS = 5" is not long enough and
  1070.                will give an "Invalid Command?" error when executed in
  1071.                the CONFIG.SYS file.  This does not affect the operation
  1072.                of MCONFIG or the CONFIG.SYS file.
  1073.                     To get around this, add spaces to the right
  1074.                of short entries.  For example, changing "BUFFERS = 5" to
  1075.                "BUFFERS = 5     *" allows MCONFIG to change the line to
  1076.                a "BREAK = OFF" statement, removing the "Invalid Command?"
  1077.                error message from DOS.
  1078.  
  1079.           USING MCONFIG with DOS 5.00
  1080.  
  1081.                The only command that can NOT be selectably configured is
  1082.           the "DOS =" statement.  This is because DOS 5.0 checks the
  1083.           CONFIG.SYS file for "DOS =" entries before executing any device
  1084.           drivers and uses the last "DOS =" statement found to set itself
  1085.           up to load high.  This means that the following will NOT work:
  1086.  
  1087.                MCONFIG "L\oad \DOS\ \L\ow"
  1088.                   DOS=LOW
  1089.                   ...rest of configuration...
  1090.  
  1091.                MCONFIG "L\oad \DOS\ \H\igh"
  1092.                   DOS=HIGH,UMB
  1093.                   ...rest of configuration...
  1094.  
  1095.                MCONFIG End
  1096.  
  1097.           In the above example, the DOS=HIGH,UMB will always be used as
  1098.           this is the last setting DOS sees.  DOS will then load itself
  1099.           high before MCONFIG is executed.
  1100. TCM Version 1.00B                                    Page 21
  1101.  
  1102.  
  1103.           APPENDIX A: Advanced MCONFIG Features
  1104.  
  1105.  
  1106.           ENVIRON.SYS DEVICE DRIVER
  1107.  
  1108.  
  1109.                The ENVIRON.SYS device driver, when used with the SET.SYS
  1110.           device driver, allows environmental variables to be set from
  1111.           within the CONFIG.SYS file.  Environmental variables set in
  1112.           this manner are retrieved by the MCON-SET program (normally run
  1113.           in the AUTOEXEC.BAT file).
  1114.                The ENVIRON.SYS device driver remains memory resident and
  1115.           stores up to 128 bytes of environmental variables.  The syntax
  1116.           for ENVIRON is as follows:
  1117.  
  1118.                DEVICE = ENVIRON.SYS
  1119.  
  1120.           There are no options.  The ENVIRON.SYS device driver uses 280
  1121.           bytes of RAM.
  1122.  
  1123.  
  1124.           SET.SYS DEVICE DRIVER
  1125.  
  1126.  
  1127.                The SET.SYS device driver stores an environmental variable
  1128.           and value for later retrieval by the MCON-SET program.  The
  1129.           syntax for SET is:
  1130.  
  1131.                DEVICE = SET.SYS variable = value
  1132.  
  1133.           where "variable" is the environmental variable to store and
  1134.           "value" is the value to store with it.
  1135.  
  1136.           NOTE:  ENVIRON.SYS must be loaded before SET.SYS is used.
  1137.  
  1138.  
  1139.           MCON-SET.EXE PROGRAM
  1140.  
  1141.  
  1142.                MCON-SET is a program that reads the environmental
  1143.           variables stored by SET and ENVIRON and places them into DOS
  1144.           environmental space.  There are no options for MCON-SET.  It is
  1145.           usually placed at or near the beginning of the AUTOEXEC.BAT
  1146.           file.
  1147.  
  1148.  
  1149.           MCON-ERR.COM PROGRAM
  1150.  
  1151.                MCON-ERR is a program that sets the DOS ERRORLEVEL to the
  1152.           same number as the Menu Item selected at boot-up.  For example,
  1153.           the first menu item would set the ERRORLEVEL to 1, the second
  1154.           to 2, and so forth.
  1155. TCM Version 1.00B                                    Page 22
  1156.  
  1157.  
  1158.           CREM.EXE PROGRAM
  1159.  
  1160.                CREM (Configuration REMarker) prevents memory managers
  1161.           such as QEMM-386, 386^MAX, and BlueMAX from optimizing
  1162.           MCONFIG's Menu Item "Selection Blocks".  Memory managers may
  1163.           not recognize MCONFIG and change its settings so it no longer
  1164.           runs correctly.  CREM modifies the CONFIG.SYS file so that
  1165.           only one selection block is visible to the optimization
  1166.           program.
  1167.  
  1168.                Valid options for CREM are listed below:
  1169.  
  1170.           CREM block_number REMOVE
  1171.  
  1172.           Options are:
  1173.  
  1174.                block_number - REMark out MCONFIG-specific lines and
  1175.                               all selection blocks EXCEPT "block_number"
  1176.                      REMOVE - Restore MCONFIG-specific lines and all
  1177.                               selection blocks
  1178.  
  1179.                "Block_number" tells CREM to process the CONFIG.SYS file
  1180.           commenting out all MCONFIG-specific lines and all Menu Item
  1181.           "selection blocks" EXCEPT the specified "block_number".  This
  1182.           option is not compatible with REMOVE.
  1183.  
  1184.                 REMOVE tells CREM to remove all REMarks from the
  1185.           CONFIG.SYS file placed there by a previous invocation of CREM
  1186.           (other comments will remain untouched).  This option is not
  1187.           compatible with "block_number".
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210. TCM Version 1.00B                                    Page 23
  1211.  
  1212.  
  1213.                An example of a CONFIG.SYS file before processing by
  1214.           CREM:
  1215.  
  1216.           __ SAMPLE CONFIG.SYS FILE _____________________________________
  1217.           DOS     = High
  1218.           device  = c:\qemm\qemm386.sys noems
  1219.           shell   = c:\command.com /e:512 /p
  1220.  
  1221.           device  = c:\utils\MCONFIG.SYS Center NumOff
  1222.           device  = MCONFIG SelectionBarBackground=RED
  1223.  
  1224.           device  = MCONFIG "C\onfiguration with cache"
  1225.             device = c:\mouse\mouse.sys /y /s30
  1226.             device = c:\cache\cache.sys 4096
  1227.             device = c:\DOS\ansi.sys
  1228.             device = c:\DOS\setver.exe
  1229.  
  1230.           device  = MCONFIG "C\onfiguration with \RAM\disk"
  1231.             device = c:\mouse\mouse.sys /y /s30
  1232.             device = c:\DOS\ramdrive.sys 4096
  1233.             device = c:\DOS\ansi.sys
  1234.             device = c:\DOS\setver.exe
  1235.  
  1236.           device = MCONFIG "M\inimal configuration"
  1237.             device = c:\DOS\ansi.sys
  1238.             device = c:\DOS\setver.exe
  1239.  
  1240.           device = MCONFIG End
  1241.  
  1242.           buffers   = 5
  1243.           files     = 60
  1244.           break     = on
  1245.           STACKS    = 0,0
  1246.           lastdrive = E
  1247.           ________________________________________________ END OF FILE __
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265. TCM Version 1.00B                                    Page 24
  1266.  
  1267.  
  1268.                If CREM was invoked with "CREM 2", the CONFIG.SYS file
  1269.           would be modified as follows:
  1270.  
  1271.  
  1272.           __ SAMPLE CONFIG.SYS FILE AFTER CREM 2 PROCESSING _____________
  1273.           DOS     = High
  1274.           device  = c:\qemm\qemm386.sys noems
  1275.           shell   = c:\command.com /e:512 /p
  1276.  
  1277.           REM {!!}device  = c:\utils\MCONFIG.sys Center NumOff
  1278.           REM {!!}device  = MCONFIG SelectionBarBackground=RED
  1279.  
  1280.           REM {!!}device  = MCONFIG "C\onfiguration with cache"
  1281.           REM {!!}  device = d:\mouse\mouse.sys /y /s30
  1282.           REM {!!}  device = c:\cache\cache.sys 4096
  1283.           REM {!!}  device = c:\DOS\ansi.sys
  1284.           REM {!!}  device = c:\DOS\setver.exe
  1285.           REM {!!}
  1286.           REM {!!}device  = MCONFIG "C\onfiguration with RAMdisk"
  1287.             device = c:\mouse\mouse.sys /y /s30
  1288.             device = c:\DOS\ramdrive.sys 4096
  1289.             device = c:\DOS\ansi.sys
  1290.             device = c:\DOS\setver.exe
  1291.  
  1292.           REM {!!}device = MCONFIG "M\inimal configuration"
  1293.           REM {!!}  device = c:\DOS\ansi.sys
  1294.           REM {!!}  device = c:\DOS\setver.exe
  1295.           REM {!!}
  1296.           REM {!!}device = MCONFIG End
  1297.  
  1298.           buffers   = 5
  1299.           files     = 60
  1300.           break     = on
  1301.           STACKS    = 0,0
  1302.           lastdrive = E
  1303.           ________________________________________________ END OF FILE __
  1304.  
  1305.  
  1306.                Note that the second Menu Item "selection block" is
  1307.           available to DOS (and the optimization program).  Now that
  1308.           CREM has modified the CONFIG.SYS, the QEMM OPTIMIZE or
  1309.           386^MAX MAXIMIZE programs can be safely run.
  1310.  
  1311.                After optimization, execute the following:
  1312.  
  1313.                CREM REMOVE
  1314.  
  1315.           to remove the comments placed in the CONFIG.SYS file by CREM.
  1316.           This restores the MCONFIG Menu Item "selection blocks" (with
  1317.           an optimized second item).
  1318.  
  1319.  
  1320. TCM Version 1.00B                                    Page 25
  1321.  
  1322.  
  1323.                There is no specific way to process the AUTOEXEC.BAT with
  1324.           CREM since there are many different ways AUTOEXEC.BAT files can
  1325.           be processed with MCONFIG.  Because of this, the AUTOEXEC.BAT
  1326.           files will have to be processed manually.
  1327.                If only one AUTOEXEC.BAT file is used, then processing is
  1328.           simplified.  For example, if the AUTOEXEC.BAT file is as
  1329.           follows:
  1330.  
  1331.           __ SAMPLE AUTOEXEC.BAT FILE __________________________________
  1332.           C:\MCONFIG\MCON_SET
  1333.           C:\MCAFEE\VSHIELD /CHKHI /CV /LH /M
  1334.           GOTO CONFIG_%MCONFIG%
  1335.           :CONFIG_1
  1336.              (first configuration)
  1337.           :CONFIG_2
  1338.              (second configuration)
  1339.           :CONFIG_3
  1340.              (third configuration)
  1341.           ________________________________________________ END OF FILE __
  1342.  
  1343.  
  1344.              Given the previous CONFIG.SYS example run with "CREM 2", edit
  1345.           the AUTOEXEC.BAT file as follows:
  1346.  
  1347.  
  1348.           __ SAMPLE AUTOEXEC.BAT FILE AFTER EDITING ___________________
  1349.           C:\MCONFIG\MCON_SET
  1350.           SET MCONFIG=2                        <--- add this line
  1351.           GOTO CONFIG_%MCONFIG%
  1352.           :CONFIG_1
  1353.              (first configuration)
  1354.           :CONFIG_2
  1355.              (second configuration)
  1356.           :CONFIG_3
  1357.              (third configuration)
  1358.           ________________________________________________ END OF FILE __
  1359.  
  1360.                After the optimization program has been run, edit the
  1361.           AUTOEXEC.BAT to remove the "SET MCONFIG=2" line.
  1362.  
  1363.           NOTE:  CREM will ALWAYS operate on C:\CONFIG.SYS.
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375. TCM Version 1.00B                                    Page 26
  1376.  
  1377.  
  1378.                Following are the steps necessary to optimize an MCONFIG
  1379.           configuration with three different Menu Item "selection
  1380.           blocks" using QEMM's OPTIMIZE in this example:
  1381.  
  1382.  
  1383.                  1.   run "CREM 1"
  1384.                  2.   Change AUTOEXEC.BAT for first configuration
  1385.                  3.   run "OPTIMIZE"
  1386.  
  1387.                  4.   run "CREM 2"
  1388.                  5.   Change AUTOEXEC.BAT for second configuration
  1389.                  6.   run "OPTIMIZE"
  1390.  
  1391.                  7.   run "CREM 3"
  1392.                  8.   Change AUTOEXEC.BAT for third configuration
  1393.                  9.   run "OPTIMIZE"
  1394.                  10.  run "CREM remove"
  1395.  
  1396.